// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   NodeSystem.java

package com.hfstu.ifs.model;

import com.hfstu.framework.model.PersistentNode;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class NodeSystem extends PersistentNode
	implements Serializable, Comparable
{

	private String systemImg;
	private String navImg;
	private String backgroundColor;
	private int titleOffset;
	private String description;
	private String menuLayout;
	private String welcomeUrl;
	private Integer orderIndex;
	private Set menus;

	public NodeSystem()
	{
		systemImg = "";
		navImg = "";
		backgroundColor = "";
		menus = new HashSet();
	}

	public String getSystemImg()
	{
		return systemImg;
	}

	public void setSystemImg(String systemImg)
	{
		this.systemImg = systemImg;
	}

	public String getNavImg()
	{
		return navImg;
	}

	public void setNavImg(String navImg)
	{
		this.navImg = navImg;
	}

	public String getBackgroundColor()
	{
		return backgroundColor;
	}

	public void setBackgroundColor(String backgroundColor)
	{
		this.backgroundColor = backgroundColor;
	}

	public int getTitleOffset()
	{
		return titleOffset;
	}

	public void setTitleOffset(int titleOffset)
	{
		this.titleOffset = titleOffset;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public String getMenuLayout()
	{
		return menuLayout;
	}

	public void setMenuLayout(String menuLayout)
	{
		this.menuLayout = menuLayout;
	}

	public Integer getOrderIndex()
	{
		return orderIndex;
	}

	public void setOrderIndex(Integer orderIndex)
	{
		this.orderIndex = orderIndex;
	}

	public Set getMenus()
	{
		return menus;
	}

	public void setMenus(Set menus)
	{
		this.menus = menus;
	}

	public int compareTo(Object o)
	{
		NodeSystem nodeSystem = (NodeSystem)o;
		return getId().compareTo(nodeSystem.getId());
	}

	public String getWelcomeUrl()
	{
		return welcomeUrl;
	}

	public void setWelcomeUrl(String welcomeUrl)
	{
		this.welcomeUrl = welcomeUrl;
	}

	public String toString()
	{
		return ToStringBuilder.reflectionToString(this);
	}
}
